﻿using System.ComponentModel.Composition;
using System.Windows.Controls;
using TraiderInformationUI.Infrastructure;
using TraiderInformationUI.Modules.General.Security.ViewModels;

namespace TraiderInformationUI.Modules.General.Security.Views
{
    /// <summary>
    /// Interaction logic for RegisterView.xaml
    /// </summary>
    [ViewExport(RegionName = RegionNames.GeneralRegion)]
    [PartCreationPolicy(CreationPolicy.Shared)]
    public partial class RegisterView : UserControl
    {
        public RegisterView()
        {
            InitializeComponent();
        }

        [Import]
        LoginViewModel ViewModel
        {
            set
            {
                DataContext = value;
            }
        }
    }
}
